Skip to main content

Unit 3 Exercise 7

Exercise 7: Function Privileges

Objective

To grant the Training Role some Function Privileges.

Summary

Grant the Training role the Function Privilege of Build Daily Schedules.

Validate that Student1 should be able to see the jobs in MY FIRST SCHEDULE but not all of them. Student1 should only see the first three Windows jobs in the schedule. This is because the Training role only has access to the jobs that the TrainingDept department was assigned to.

Then attempt to to add a UNIX job to the schedule in Job Master. Finally, attempt to change the job status of existing jobs in the daily schedule.

Instructions

Granting the Function Privilege

  1. In Library > Security > Access Management
  2. In the Role list, select Training.
  3. In the Role Definition section, select Activities
  4. Expand Schedule.
  5. Select the checkbox for Build Daily Schedules
  6. Click Save

Validate Privileges

  1. Click Logout
  2. In the Logout pop-up, click yes.
  3. From the Login screen:
  • In the Username field, enter Student1.
  • In the Password field, enter password1.
  • Click Login.
  1. In Library > Administration, select Master Job.
  2. In the Job list, what do you see?
note

You should only see 3 Windows Jobs. Why?

Because the Training role associated with the Student1 user has access only to the jobs assigned to the TrainingDept.

  1. Select Windows Job 1, what is the User ID associated with this Job?
Warning

The field should be empty. This is because in Exercise 3, we granted the Training role access to SMATRAINING\BATCHUSER and NOT to SMATRAINING\SMAUSER.

DO NOT Change the User ID.

Attempt to Add a UNIX Job

  1. Click Back in the upper right corner.
  2. Click Add.
  3. In Job Type field, try to select UNIX.
note
  • What happens?
  • Can you select a UNIX machine? You can’t add a UNIX Job because the role is not assigned to any UNIX machine.
  1. Close Library

Change Job Statuses in Matrix

  1. In the Operation section, click Processes in the top right corner.
  2. In the Schedule Build screen:
  • In the Scheduling Dates section, validate that today is selected for both From and To.
  • In the Schedule Build section, select Released
  • Toggle Overwrite Existing Schedules on
  • In the Schedule List section, select My First Schedule.
  • Click Build.
  1. On the Build* screen, expand out the date until you can click on the Schedule Name.
  2. Once in the Processes screen, make sure that My First Schedule is in the Schedule section.
  3. In the Job section, right click Windows Job 2 and select Release. The job should move to a Waiting on Dependency status.
  4. Right-Click Windows Job 2 again and click Force Start.
note
  • Notice that Force Start is not enabled.
  • Why?
  • Because the Force-Start Job Departmental Function Privilege is not granted to this user’s role.
  1. Right-click Windows Job 3 and notice that the Cancel option is not enabled.
note
  • Why?
  • Because the Cancel Jobs Departmental Function Privilege is not granted to this user’s role.
  1. Right-click Windows Job 1 and select Release to allow the jobs in My First Schedule to complete.
  2. Logout of Solution Manager once My First Schedule is complete
  3. Log back in by clicking the Login with Windows button.

Enterprise Manager

Details

Granting the Function Privilege

  1. In Security, expand Privileges, double click on Function Privileges.
  2. In the Select Role drop-down, select Training.
  3. In the Revoked column, select Build Daily Schedules and using the green arrow move the privilege to the Granted column.
  4. Close the Function Privileges tab.
  5. Open the Matrix view and check if My First Schedule is completed. If not, cancel any Job that is keeping the Schedule open.
  6. Close the Matrix view.

Validate Privileges

  1. Click the Lock icon in the top left corner to log out of Enterprise Manager.
  2. In the Confirm Logout window, click OK.
  3. From the OpCon/xps Login screen:
  • In the Username field, enter Student1.
  • In the Password field, enter password1.
  • Click Login.
  1. In Administration section, double click Job Master.
  2. In the Schedule drop-down, select My First Schedule.
  3. In the Job Drop-down, what do you see?
note

You should only see 3 Windows Jobs. Why?

Because the Training role associated with the Student1 user has access only to the jobs assigned to the TrainingDept.

  1. Select Windows Job 1, what is the User ID associated with this Job?
Warning

The field should be empty. This is becuase in Exercise 3, we granted the Training role access to SMATRAINING\BATCHUSER and NOT to SMATRAINING\SMAUSER.

DO NOT Change the User ID.

Attempt to Add a UNIX Job

  1. Click Add in the upper right corner.
  2. In Job Type field, try to select UNIX.
note
  • What happens?
  • Can you select a UNIX machine? You can’t add a UNIX Job because the role is not assigned to any UNIX machine.
  1. Click Cancel in the top right corner.
  2. Close the Job Master tab.

Change Job Statuses in Matrix

18. In the Operation section, double click Schedule Build. 19. In the Schedule Build** pop-up window:

  • In the Scheudle Selection section, select My First Schedule.
  • In the Scheduling Dates section, validate that today is selected for both Start and Stop.
  • Check the box for Overwrite existing schedules.
  • Click Build.
  • In the Build Properties window, select Released and OK.
  • Close the Schedule Build pop-up window
  1. In the Operation section, double click Matrix.
  2. In the Calendar on the Matrix screen, make sure today’s date is selected.
  3. In the Schedule section, select My First Schedule.
  4. In the Job section, right click Windows Job 2 and select Release. The job should move to a Waiting on Dependency status.
  5. Right-Click Windows Job 2 again and click Force Start.
note
  • Notice that Force Start is not enabled.
  • Why?
  • Because the Force-Start Job Departmental Function Privilege is not granted to this user’s role.
  1. Right-click Windows Job 3 and notice that the Cancel option is not enabled.
note
  • Why?
  • Because the Cancel Jobs Departmental Function Privilege is not granted to this user’s role.
  1. Right-click Windows Job 1 and select Release to allow the jobs in My First Schedule to complete.
  2. Click the Lock icon to logout of Enterprise Manager.
  3. Click OK to confirm you are logging out.
  4. Leave both the Username and the Password fields blank.
  5. Click Login.